Skip to content

Added an Integrations page for global MRT theme overrides#249

Draft
zoharma wants to merge 1 commit into
mainfrom
zma/ds-mta-overrides
Draft

Added an Integrations page for global MRT theme overrides#249
zoharma wants to merge 1 commit into
mainfrom
zma/ds-mta-overrides

Conversation

@zoharma

@zoharma zoharma commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Added an Integrations page for global MRT theme overrides.

Use as follows:

For app intergation:
Use

import {
  ThemeProvider,
  DiamondDSIntegrations,
  DiamondDSTheme,
} from "@diamondlightsource/sci-react-ui"

and inside const table = useMaterialReactTable({

    ...DiamondDSIntegrations.mrtOptions(),
    mrtTheme: DiamondDSIntegrations.mrt(),

p.s.
Have not updated ?path=/docs/installation--docs with the guidance as not sure of the best way to do that. It's only when using MRT. Also guidance to pull artefacts of DiamondDSIntegrations may update as we progress...

Added an Integrations page for global MRT theme overrides
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant